/**
 * 
 */
package com.googlecode.pcapj;

/**
 * 
 */
class PacketFactoryImpl implements PacketFactory<Packet>{
	static final PacketFactory<? extends Packet> DEFAULT_FACTORY = new PacketFactoryImpl();

	/* (non-Javadoc)
	 * @see com.googlecode.pcapj.PacketFactory#newPacket(byte[], int, int)
	 */
	public Packet newPacket(byte[] buffer, int offset, int length) {
		return new PacketImpl(buffer, offset, length);
	}
}
